package com.lin.manager.log.ex;

import com.lin.manager.log.enums.LogEnum;

/**
 * @author linjiang
 * @date 2024/8/14
 * @fn
 */
public class CustomLogException extends RuntimeException {
    private Integer code;

    public CustomLogException(LogEnum logEnum) {
        super(logEnum.getDesc());
        this.code = logEnum.getCode();
    }

}
